package wang.lx.mybatis.common;

public enum SysDefaultRole {

    ROLE_ADMIN("超级管理员", "superadmin"),
    ROLE_USER("普通用户", "2");

    /**
     * 角色名称
     */

    private final String roleName;
    private final String roleId;

    public String getRoleName() {
        return roleName;
    }

    public String getRoleId() {
        return roleId;
    }

    private SysDefaultRole(String roleName, String roleId) {
        this.roleName = roleName;
        this.roleId = roleId;
    }
}
